package com.zhangtai.modules.entity.security;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

	

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-08-17 20:26:04
 */
@Data
@TableName("tb_security_change")
public class SecurityChangeEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 
		 */
			@TableId(value = "change_id", type = IdType.AUTO)
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long changeId;

	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
			private Long oid;


	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long securityId;
			/**
		 * 操作类型
		 */
			private Integer type;

			/**
		 * 操作时间
		 */
			private Date operationTime;
			/**
		 * 操作人工号
		 */
			private String operaterCode;
			/**
		 * 操作人姓名
		 */
			private String operateName;

			private Integer isDelete;

	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
			private Long orgId;
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long unitId;
	
}
